using UnityEngine;
using System.Collections;

public abstract class BotSensor {

    protected MonoBehaviour monoBehaviour;

    public bool isEnable = true;

    public BotSensor(MonoBehaviour monoBehaviour)
    {
        this.monoBehaviour = monoBehaviour;
    }

    public GameObject GetStimulus()
    {
        if (!isEnable)
            return null;

        return FindStimulus();
    }

    protected abstract GameObject FindStimulus();
}
